/*
*  Copyright 2019-2020 Zheng Jie
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*  http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package me.zhengjie.modules.system.service.dto;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.List;

/**
* @website https://el-admin.vip
* @description /
* @author 王宇
* @date 2023-09-24
**/
@Data
public class IdentityItemDto implements Serializable {

    /** 主键 */
    private Long itemId;

    /** 编号 */
    private String itemNo;

    /** 标题 */
    private String title;

    /** 副标题 */
    private String subTitle;

    /** 图片 */
    private String itemPic;

    /** 售价 */
    private BigDecimal salePrice;

    /** 折扣价 */
    private BigDecimal discountPrice;

    /** 介绍 */
    private String itemDesc;

    /** 创建时间 */
    private Timestamp createTime;

    /** 创建人 */
    private String createby;

    /** 更新时间 */
    private Timestamp updateTime;

    /** 更新人 */
    private String updateby;

    /** 状态，0：无效，1：有效，-1:删除 */
    private Integer status;

    /**
     * 一级分润
     */
    private BigDecimal oneLevelRatio;

    /**
     * 二级分润
     */
    private BigDecimal twoLevelRatio;

    /**
     * 门票数量
     */
    private Integer ticketNum;

    private Integer showIndex;

    private String adminMobile;

    private String adminOpenid;

    private List<IdentityCourseDto> courseList;
}